Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] avoid concating # with url if there is no fragment. #159

Closed
wants to merge 3 commits into from

Conversation

EltonChou
Copy link
Contributor

#72 will always concate # with url.
This PR add statement of checking fragment existence.

avoid adding `#` after url if there is no fragment.
@Gallaecio Gallaecio mentioned this pull request Nov 4, 2020
@Gallaecio Gallaecio closed this Feb 18, 2021
@Gallaecio Gallaecio reopened this Feb 18, 2021
@Gallaecio
Copy link
Member

Closing and reopening to trigger the CI tests again after merging #160.

@Gallaecio
Copy link
Member

A new day, a new CI issue 😓

@yozachar
Copy link

Incoming branch is 68 commits behind

@EltonChou
Copy link
Contributor Author

branch is updated. 👍

@kmike
Copy link
Member

kmike commented Aug 4, 2022

Thanks @EltonChou!

@codecov
Copy link

codecov bot commented Aug 4, 2022

Codecov Report

Merging #159 (01a6c3f) into master (97ac45b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #159   +/-   ##
=======================================
  Coverage   96.02%   96.02%           
=======================================
  Files           7        7           
  Lines         478      478           
  Branches       93       93           
=======================================
  Hits          459      459           
  Misses          9        9           
  Partials       10       10           
Impacted Files Coverage Δ
w3lib/url.py 98.61% <100.00%> (ø)

@kmike
Copy link
Member

kmike commented Aug 6, 2022

flake8 failure should be addressed here: #182

@EltonChou would you mind runing black on your changes, to fix the remaining CI failure?

@kmike
Copy link
Member

kmike commented Aug 8, 2022

Actually, let me handle the failure. Thanks @EltonChou! Also, thanks @joe733 for the ping :)

@kmike kmike mentioned this pull request Aug 8, 2022
@kmike
Copy link
Member

kmike commented Aug 8, 2022

Merged as #183.

@kmike kmike closed this Aug 8, 2022
@kmike kmike added this to the 2.0.0 milestone Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants